<%-- 
    Document   : horarioEspecifico
    Created on : 13-feb-2013, 19:20:44
    Author     : Sistemas02
--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<c:if test="${sessionScope.usuario == null or sessionScope.usuario.nombreUsuarioWeb != 'Administrador de Sistema'}">
    <c:redirect url="/dinamica/ingresar.jsp" />
</c:if>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
          <div class="portlet">
        <div class="portlet-header fixed"><img src="/SistemaWebAGB_2.0/dinamica/images/icons/user.gif" width="16" height="16" alt="Latest Registered Users" />Horario Alumno</div>
		<div class="portlet-content nopadding">
        <form action="" method="post">
          <table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" >
              <c:if test="${empty requestScope.horarios}">
                  <tr >
                      <th colspan="6" align="center">Horarios Actualmente no Disponibles &nbsp;</th>
                  </tr>
              </c:if>
              
              <c:if test="${not empty requestScope.horarios}">
         
              <tr>
                <th width="34" ></th>
                <th width="112" >Hora:</th>
                <th width="136" >Lunes:</th>
                <th width="109" >Martes:</th>
                <th width="129" >Miercoles:</th>
                <th width="171" >Jueves:</th>
                <th width="123" >Viernes:</th>        
              </tr>
            
                  <c:forEach items="${requestScope.horarios}" var="bean">
                      <tr >
                          <td width=34></td>
                          <td align="center">${bean.horaInicio}-${bean.horaFin}</td>
                          <td align="center">${bean.lunes}</td>
                          <td align="center">${bean.martes}</td>
                          <td align="center">${bean.miercoles}</td>
                          <td align="center">${bean.jueves}</td>
                          <td align="center">${bean.viernes}</td>                
                      </tr>
                  </c:forEach>
              </c:if>     
            
          </table>
         </form>
		</div>
      </div>
    </body>
</html>
